]> dgit.raspbian.org Git - gnome-shell.git/commit
brightnessManager: Handle dimming and auto brightness
authorSebastian Wick <sebastian.wick@redhat.com>
Sat, 21 Jun 2025 22:06:27 +0000 (00:06 +0200)
committerSebastian Wick <sebastian.wick@redhat.com>
Sun, 3 Aug 2025 01:34:28 +0000 (03:34 +0200)
commit2f30d7d7d618d45f6122010fc66f08bcaa1a7736
tree46d1d7ea048a8acf7fa423e5972033a544541618
parent146c324d29bf0a4fe648b913ca3f7b0f8a4d25b9
brightnessManager: Handle dimming and auto brightness

We don't want gnome-settings-daemon to poke directly at mutters
backlight anymore because that would be a split brain situation where
g-s and g-s-d will fight with each other. This implements a way to tell
the BrightnessManager to dim the screen and set an auto brightness
target, and the manager will set the backlight accordingly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3751>
js/misc/brightnessManager.js
js/ui/status/brightness.js